home *** CD-ROM | disk | FTP | other *** search
/ Aminet 48 / Aminet 48 (2002)(GTI - Schatztruhe)[!][Apr 2002].iso / Aminet / text / edit / vim60src.lha / Vim / vim60 / src / testdir / test43.in < prev    next >
Encoding:
Text File  |  2001-09-09  |  412 b   |  28 lines

  1. Tests for regexp with various magic settings.
  2.  
  3. STARTTEST
  4. :set nocompatible viminfo+=nviminfo
  5. /^1
  6. /a*b\{2}c\+/e
  7. x/\Md\*e\{2}f\+/e
  8. x:set nomagic
  9. /g\*h\{2}i\+/e
  10. x/\mj*k\{2}l\+/e
  11. x/\vm*n{2}o+/e
  12. x/\V^aa$
  13. x:set magic
  14. /\v(a)(b)\2\1\1/e
  15. x/\V[ab]\(\[xy]\)\1
  16. x:?^1?,$w! test.out
  17. :qa!
  18. ENDTEST
  19.  
  20. 1 a aa abb abbccc
  21. 2 d dd dee deefff
  22. 3 g gg ghh ghhiii
  23. 4 j jj jkk jkklll
  24. 5 m mm mnn mnnooo
  25. 6 x ^aa$ x
  26. 7 (a)(b) abbaa
  27. 8 axx [ab]xx
  28.